package com.hw.IdGenerater;

import java.net.SocketException;
import java.net.UnknownHostException;
import java.util.Random;

public class DoRun {

	public static void main(String[] args) throws InterruptedException, UnknownHostException, SocketException {
		Random random=new Random();

		IDGenerater id=new IDGenerater();
//		System.out.println(id.getOriginalUUID());
//		System.out.println(id.getRandomID(100000000));
//		System.out.println(id.getStrUUID());
//		System.out.println(id.getTimeAndRandomID(3));
		for(int i=0;i<100;i++) {
			System.out.println(id.getRandNum(4));
			System.out.println(id.getTimeAndRandomID(4));
		}
		

		
		
	}
}
